package com.baixun.gasentity.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @program: 上海燃气驾驶舱
 * @description: sys_monitor_statistics实体类
 * @author: yesong
 * @create: 2024-10-15 17:38
 **/

@Data
@TableName("sys_Monitor_statistics")
@ApiModel(value = "MonitorStatistics", description = "监控概况实体")
public class SysMonitorStatistics implements Serializable {
    @ApiModelProperty(value = "设备ID", example = "1", required = true)
    @TableId("device_id")
    private Long deviceId;

    @ApiModelProperty(value = "点位ID", example = "100", required = true)
    private Long pointId;

    @ApiModelProperty(value = "是否配置AI (0: 未配置, 1: 配置)", example = "1", required = true)
    private Boolean isAi;

    @ApiModelProperty(value = "是否在线 (0: 未在线, 1: 在线)", example = "1", required = true)
    private Boolean isOnline;

    @ApiModelProperty(value = "设备类型", example = "执法仪/无人机", required = true)
    private String deviceType;

    @ApiModelProperty(value = "设备名称", example = "摄像头A", required = true)
    private String deviceName;

    @ApiModelProperty(value = "是否异常 (0: 正常, 1: 异常)", example = "1", required = true)
    private Boolean isAbnormal;

    @ApiModelProperty(value = "创建时间)", required = true)
    private LocalDate createTime;
}
